import request from '@/router/axios';

export const groupByAttackCity = (current, size, params) => {
  return request({
    url: '/api/sd-attack-success/groupByAttackCity',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
};

export const detail = (params) => {
  return request({
    url: '/api/sd-attack-success/detail',
    method: 'get',
    params: {
      ...params,
    }
  })
};